Optimal. Leaf size=29 \[ \frac{d \log (\sinh (a+b x))}{b^2}-\frac{(c+d x) \coth (a+b x)}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0310169, antiderivative size = 29, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.143, Rules used = {4184, 3475} \[ \frac{d \log (\sinh (a+b x))}{b^2}-\frac{(c+d x) \coth (a+b x)}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4184
Rule 3475
Rubi steps
\begin{align*} \int (c+d x) \text{csch}^2(a+b x) \, dx &=-\frac{(c+d x) \coth (a+b x)}{b}+\frac{d \int \coth (a+b x) \, dx}{b}\\ &=-\frac{(c+d x) \coth (a+b x)}{b}+\frac{d \log (\sinh (a+b x))}{b^2}\\ \end{align*}
Mathematica [A] time = 0.0933455, size = 52, normalized size = 1.79 \[ \frac{d \log (\sinh (a+b x))}{b^2}-\frac{c \coth (a+b x)}{b}-\frac{d x \coth (a)}{b}+\frac{d x \text{csch}(a) \sinh (b x) \text{csch}(a+b x)}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.016, size = 56, normalized size = 1.9 \begin{align*} -2\,{\frac{dx}{b}}-2\,{\frac{da}{{b}^{2}}}-2\,{\frac{dx+c}{b \left ({{\rm e}^{2\,bx+2\,a}}-1 \right ) }}+{\frac{d\ln \left ({{\rm e}^{2\,bx+2\,a}}-1 \right ) }{{b}^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.12236, size = 123, normalized size = 4.24 \begin{align*} -d{\left (\frac{2 \, x e^{\left (2 \, b x + 2 \, a\right )}}{b e^{\left (2 \, b x + 2 \, a\right )} - b} - \frac{\log \left ({\left (e^{\left (b x + a\right )} + 1\right )} e^{\left (-a\right )}\right )}{b^{2}} - \frac{\log \left ({\left (e^{\left (b x + a\right )} - 1\right )} e^{\left (-a\right )}\right )}{b^{2}}\right )} + \frac{2 \, c}{b{\left (e^{\left (-2 \, b x - 2 \, a\right )} - 1\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.60578, size = 431, normalized size = 14.86 \begin{align*} -\frac{2 \, b d x \cosh \left (b x + a\right )^{2} + 4 \, b d x \cosh \left (b x + a\right ) \sinh \left (b x + a\right ) + 2 \, b d x \sinh \left (b x + a\right )^{2} + 2 \, b c -{\left (d \cosh \left (b x + a\right )^{2} + 2 \, d \cosh \left (b x + a\right ) \sinh \left (b x + a\right ) + d \sinh \left (b x + a\right )^{2} - d\right )} \log \left (\frac{2 \, \sinh \left (b x + a\right )}{\cosh \left (b x + a\right ) - \sinh \left (b x + a\right )}\right )}{b^{2} \cosh \left (b x + a\right )^{2} + 2 \, b^{2} \cosh \left (b x + a\right ) \sinh \left (b x + a\right ) + b^{2} \sinh \left (b x + a\right )^{2} - b^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (c + d x\right ) \operatorname{csch}^{2}{\left (a + b x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.1226, size = 108, normalized size = 3.72 \begin{align*} -\frac{2 \, b d x e^{\left (2 \, b x + 2 \, a\right )} - d e^{\left (2 \, b x + 2 \, a\right )} \log \left (e^{\left (2 \, b x + 2 \, a\right )} - 1\right ) + 2 \, b c + d \log \left (e^{\left (2 \, b x + 2 \, a\right )} - 1\right )}{b^{2} e^{\left (2 \, b x + 2 \, a\right )} - b^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]